home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group97b.txt / 000067_icon-group-sender _Tue Sep 16 12:47:34 1997.msg < prev    next >
Internet Message Format  |  2000-09-20  |  2KB

  1. Return-Path: <icon-group-sender>
  2. Received: from kingfisher.CS.Arizona.EDU (kingfisher.CS.Arizona.EDU [192.12.69.239])
  3.     by cheltenham.cs.arizona.edu (8.8.7/8.8.7) with SMTP id MAA10212
  4.     for <icon-group-addresses@cheltenham.CS.Arizona.EDU>; Tue, 16 Sep 1997 12:47:19 -0700 (MST)
  5. Received: by kingfisher.CS.Arizona.EDU (5.65v4.0/1.1.8.2/08Nov94-0446PM)
  6.     id AA03197; Tue, 16 Sep 1997 12:47:17 -0700
  7. Date: Tue, 16 Sep 1997 08:29:12 -0700
  8. From: kwalker@premenos.com (Ken Walker)
  9. Message-Id: <199709161529.IAA10288@varda.premenos.com>
  10. To: icon-group@optima.cs.arizona.edu, Stuart.Robinson@anu.edu.au
  11. Subject: Re: Problem with Program
  12. Mime-Version: 1.0
  13. Content-Type: text/plain; charset=us-ascii
  14. Content-Transfer-Encoding: 7bit
  15. Content-Md5: r1nw5tnoLAkf4GmYRQRAPA==
  16. Errors-To: icon-group-errors@cs.arizona.edu
  17. Status: RO
  18.  
  19. > Date: Tue, 16 Sep 1997 22:56:57 +1000
  20. > From: Stuart.Robinson@anu.edu.au (Stuart Robinson)
  21. > I just wrote up a little program to check each line of text for the number
  22. > of times the string "#PL" appears.  I want the program to put the line in
  23. > list_1 if the string shows up once, in list_2 if the string shows up
  24. > twice, in list_3 if the string show up three times, and in list_other if
  25. > it fails to show up at all or shows up more than three times.  The problem
  26. > is, it doesn't work.  What gives?  Thanks in advance.
  27.  
  28. You did not say exactly what the symptoms are and the program you posted
  29. has serveral typos in it. If you can tell me where things are going wrong
  30. and/or post a more accurate version of the program, I can probably figure
  31. out what's going on.
  32.  
  33. Ken Walker, kwalker@premenos.com
  34. Premenos Coporation, Concord, Ca. 94520
  35.  
  36.